<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- hello box -->
    <div>hello box</div>

    <script>
      const nodes = document.body.childNodes;
      nodes[0].__proto__ = null;
      console.log(nodes[0].nodeType);
      // console.log(nodes[1].nodeType);
      // console.log(nodes[3].nodeType);
      // console.log(document.nodeType); //9
    </script>
  </body>
</html>
